/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.epam.dbif.object;

/**
 *
 * @author Ivan_Klyubanov
 */
public class Column {
    
    private String name;
    private int size;
    /**
     *     java.​sql.​Types
     */
    private int type;
    private String typeName;
    private String table;

    public Column(String name) {
        this.name = name;
    }

    public Column(String name, int size, int type, String typeName, String table) {
        this.name = name;
        this.size = size;
        this.type = type;
        this.typeName = typeName;
        this.table = table;
    }

    
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }


    public String getTable() {
        return table;
    }

    public void setTable(String table) {
        this.table = table;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }
}
